﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;


public class DOT
{
    public int Status { get; set; }
    public string Msg { get; set; }
}

public class SalesEntity
{
    /// <summary>
    /// 行号
    /// </summary>
    public string hh { get; set; }
    /// <summary>
    /// 商品编号
    /// </summary>
    public string spbh { get; set; }

    /// <summary>
    /// 条码号
    /// </summary>
    public string tmh { get; set; }

    /// <summary>
    /// 商品名称
    /// </summary>
    public string spmc { get; set; }

    /// <summary>
    /// 规格
    /// </summary>
    public string gg { get; set; }
    /// <summary>
    /// 单位
    /// </summary>
    public string dw { get; set; }
    /// <summary>
    /// 数量
    /// </summary>
    public decimal sl { get; set; }

    /// <summary>
    /// 零售价
    /// </summary>
    public decimal lsj { get; set; }

    /// <summary>
    /// 批发价
    /// </summary>
    public decimal pfj { get; set; }

    /// <summary>
    /// 实收金额
    /// </summary>
    public decimal ssje { get; set; }

    public decimal zke { get; set; }
    /// <summary>
    /// 折扣率
    /// </summary>
    public decimal zkl { get; set; }
    /// <summary>
    /// 折后价
    /// </summary>
    public decimal zhj { get; set; }
    public bool bdz { get; set; }
    public string gysmc { get; set; }
    /// <summary>
    /// 厂家
    /// </summary>
    public string cjhh { get; set; }

    /// <summary>
    /// 进价
    /// </summary>
    public decimal jj { get; set; }
}

public class PrintConfig
{
    /// <summary>
    /// 钱箱端口
    /// </summary>
    public string PortName { get; set; }
    /// <summary>
    /// 打印机列表
    /// </summary>
    public List<PrintItem> Ls { get; set; }
}
public class PrintItem
{
    public string PrintName { get; set; }

    public int Type { get; set; }
    public int Number { get; set; }
}
